html {
  font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0; /* 去除边距 */
  overflow: hidden;
  background: rgba(33, 33, 26, 1);
}
a {
  text-decoration: none;
}
a:hover {
  color: rgb(40, 210, 190) !important;
}
.collapsed { /* 隐藏（不保留布局空间） */
  display: none;
}
.hidden { /* 隐藏（保留布局空间） */
  visibility: hidden;
}
.mt16 {
  margin-top: 16px;
}
.mt8 {
  margin-top: 8px;
}
.mb8 {
  margin-bottom: 8px;
}
.ml8 {
  margin-left: 8px;
}

img.cover {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1000ms ease-out; /* 使用 transition 比 jQuery fadeIn() 更加流畅 */
}
div.cover {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 400ms;
  /* WinUI Acrylic 效果 https://ubug.io/blog/fluent-acrylic */
  backdrop-filter: blur(30px) saturate(180%) brightness(80%); /* 背景模糊、饱和度、亮度 */
  -webkit-backdrop-filter: blur(30px) saturate(180%) brightness(80%); /* 兼容 Safari */
  background-color: rgba(0, 0, 0, 0.5); /* 需有透明度 */
}

.account {
  display: flex;
  flex-direction: column; /* flex 布局中子元素水平排列 */
  align-items: center; /* flex 布局中子元素水平居中 */
  /*
   * justify-content: center; flex 布局中子元素垂直居中
   * 该方法搭配 overflow: auto; 无法解决垂直空间不足滚动不全问题，
   * 因此新增上下 <div> flex-grow: 1; 搭配 overflow: auto;
   */
  width: 100%;
  height: 100%;
  overflow: auto; /* 可滚动 */
}
.account .account-space {
  flex-grow: 1; /* 填充剩余空间，使主体垂直居中 */
}
.account .account-content {
  /*width: fit-content; !* div 默认 100%，改为自适应宽度 *!*/
  height: fit-content; /* div 默认 100%，改为自适应高度 */
  width: min(calc(100% - 24px * 2 - 16px * 2), 400px);
  padding: 24px;
  margin: 16px 0;
  color: rgba(255, 255, 255, 1);
  border: 2px solid rgba(240, 240, 240, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(30px) saturate(180%) brightness(80%); /* 背景模糊、饱和度、亮度 */
  -webkit-backdrop-filter: blur(30px) saturate(180%) brightness(80%); /* 兼容 Safari */
  background-color: rgba(0, 0, 0, 0.5); /* 需有透明度 */
}
.account .account-title {
  font-weight: bold;
  font-size: x-large;
  user-select: none;
}
.account .account-action {
  text-align: right;
}
.account .account-info-toast {
  font-size: small;
  color: rgba(196, 199, 197, 1);
}
.account .account-info-toast-info {
  color: rgb(40, 210, 190)!important;
}
.account .account-info-toast-error {
  color: rgb(244, 67, 54) !important;
}
.account .account-info-title {}
.account .account-info-desc {
  font-size: small;
  color: rgba(196, 199, 197, 1);
}
.account .account-info-desc a {
  color: rgba(196, 199, 197, 1);
}
.account .account-info-desc-import {
  font-size: small;
  color: rgb(244, 67, 54);
}
.account .account-info-desc-img {}
.account .account-info-home {
  font-size: small;
  color: rgba(196, 199, 197, 1);
  text-align: right;
}
.account .account-info-home a {
  color: rgba(196, 199, 197, 1);
}
.account .account-info-more::after {
  content: " ……";
}
.account .account-in {
  /* http://www.ibloger.net/assets/demos/css3-input-14-effects/index.html */
  display: flex;
  flex-direction: row; /* flex 布局中子元素水平排列 */
  flex-wrap: nowrap; /* flex 布局中子元素不换行 */
  align-items: center; /* flex 布局中子元素垂直居中 */
  justify-content: flex-start; /* flex 布局中子元素主轴对齐 */
}
.account .account-in input {
  flex-grow: 1; /* 填充剩余空间 */
  padding: 0 8px;
  height: 42px; /* 随屏幕空间变化 */
  transition: transform 0.5s;
  box-sizing: border-box; /* 避免 100% width 溢出 */
  outline-style: none;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.account .account-in input:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.account .account-in button {
  /* https://getcssscan.com/css-buttons-examples */
  flex-grow: 0; /* 自适应宽度 */
  padding: 0 8px;
  height: 42px; /* 随屏幕空间变化 */
  white-space: nowrap; /* 不换行 */
  background-clip: padding-box;
  background-color: rgba(78, 205, 196, 1);
  color: black;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  transition: all 250ms;
  touch-action: manipulation;
}
.account .account-in button:hover, .account .account-in button:focus {
  background-color: rgba(70, 255, 240, 1);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}
.account .account-in button:hover {
  transform: translateY(-1px);
}
.account .account-in button:active {
  background-color: rgba(48, 176, 157, 1);
  box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
  transform: translateY(0);
}
.account img {
  display: block;
  object-fit: contain;
  width: 100%;
}

@media screen and (min-width: 830px) {
  .account .account-in input {
    height: 38px;
  }
  .account .account-in button {
    height: 38px;
  }
}